<form class="form-horizontal css-form" ng-submit="submit()" style="width:80%;margin:0 auto;">
	<div style="width:45%;margin:0 auto;display:inline-block;">
		<div class="title">学生信息</div>
		<!-- 选择班级 -->
		<div class="student_add_info">
			<label>班级：</label>
		    <select class="select_box" ng-model="student.classes_id" ng-options="item.id as item.name for item in values" required> 	
			</select>
		</div>

		<!-- 输入姓名 -->
		<div class="student_add_info" >
			<label>姓名：</label>
		    <div class="input_box"name = "name">
				<input type="text" ng-model="student.name" placeholder="" required >     
		    </div>
		   <!--  <span ng-show="myForm.name.$error.required">必填</span> -->
		</div>

		<!-- 输入学号 -->
		<div class="student_add_info" >
			<label>学号：</label>
		    <div class="input_box">
				<input type="text" ng-model="student.stuid" placeholder="" required>     
		    </div>
		</div>

		<!-- 选择性别 -->
	    <div class="student_add_info" >
	    	<label>性别:</label>
	    	<div class="sex">
	    		<input type="radio" name="sex" value="0" ng-model="student.sex" required >
	    		男
				<input type="radio" name="sex" value="1" ng-model="student.sex" style="margin-left:20px;" required> 
				女
	    	</div>	     
	    </div>
	    <!-- 备注-->
		<div class="student_add_info">
			<label>备注：</label>
		    <div class="input_box">
				<input type="text" ng-model="student.remark" value="无" >     
		    </div>
		</div>
	</div>
	
	<div style="width:45%;margin:0 auto;display:inline-block;float:right;" >
		<div class="title">家长信息</div>

	    <!-- 输入家长姓名-->
		<div class="student_add_info" >
			<label>姓名：</label>
		    <div class="input_box">
				<input type="text" ng-model="student.parent_name" placeholder="" required>     
		    </div>
		</div>

		<!-- 与学生关系 -->
		<div class="student_add_info" >
			<label>关系：</label>
		    <select class="select_box" ng-model="student.relation" ng-options="item.id as item.name for item in selectParents" required> 	
			</select>
		</div>

		 <!-- 输入家长身份证号-->
		<div class="student_add_info" >
			<label>身份证号：</label>
		    <div class="input_box">
				<input type="text" ng-model="student.nativeid" placeholder="" required>     
		    </div>
		</div>

		 <!-- 输入家长电话-->
		<div class="student_add_info" >
			<label>电话：</label>
		    <div class="input_box">
				<input type="text" ng-model="student.tel" placeholder="" required>     
		    </div>
		</div>
	</div>
	

	<!-- 按钮 -->
	<div style="margin:20px 0;width:45%;float:right;">
		<a class="btn btn-large btn-primary" href="#/students" style="width:45%;margin:0 auto;display:inline-block;">
			取消
		</a>
		
		<button style="width:45%;margin:0 auto;display:inline-block;float:right;" type="submit" class="btn btn-large btn-primary" >提交</button>
	</div>
</form>


	


